package com.gxar.quick.ar.server.base.model.exchange.vo.response;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.gxar.quick.ar.server.base.model.exchange.vo.ExchangeItemTemplateVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/2/27 11:30
 */
@Data
@ApiModel("兑换品模板查询")
@EqualsAndHashCode(callSuper = true)
public class AdminExchangeItemTemplatePageResponse extends ExchangeItemTemplateVO {

    @ApiModelProperty("创建日期")
    @JSONField(name = "createdAt")
    @JsonProperty("createdAt")
    @JsonFormat(pattern = "yyyy.MM.dd", timezone = "GMT+8")
    private Date createdAt;

    @ApiModelProperty("修改日期")
    @JSONField(name = "updated_at")
    @JsonProperty("updated_at")
    @JsonFormat(pattern = "yyyy.MM.dd", timezone = "GMT+8")
    private Date updatedAt;

    @ApiModelProperty("作品大小")
    @JSONField(name = "works_size")
    @JsonProperty("works_size")
    private String worksSize;

    @ApiModelProperty("是否上架 0-否，1-是")
    @JSONField(name = "shelves")
    @JsonProperty("shelves")
    private Boolean shelves;
}
